package com.usian.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.model.admin.dtos.ChannelDto;
import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ResponseResult;

import java.util.List;

public interface AdChannelService extends IService<AdChannel> {
    ResponseResult findByNameAndPage(ChannelDto dto);

    /**
     * 新增
     * @param channel
     * @return
     */
     ResponseResult insert(AdChannel channel);

    ResponseResult update(AdChannel channel);

    ResponseResult deleteById(Integer id);

}
